// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue' /* 引入vue.js */
import App from './App' /* 引入app组件 */
import router from './router/index.js';
import axios from 'axios'
import VueAwesomeSwiper from 'vue-awesome-swiper'
// import elm from './elm/elm.vue'
import employee from "./employee/employeeHome.vue"
import store from './store/index.js'
// import 'swiper/dist/css/swiper.min.css'
// import 'swiper/dist/js/swiper.min'
Vue.prototype.axios = axios
Vue.config.productionTip = false
Vue.prototype.bus = new Vue()
import 'swiper/swiper-bundle.css'
import filter from "./utils/filter.js"

Vue.use(VueAwesomeSwiper, /* { default options with global component } */ )

/* eslint-disable no-new */
new Vue({
  /* 创建一个vue对象 */
  el: '#app',
  /* 挂载点(使用哪个元素作为vue的容器) */
  store,
  router,
  components: {
    employee
  },
  /* 要使用的根组件 其他组件放在根组件中  */
  template: '<employee/>' /* 渲染根组件 */
})

/*
  npm run dev => main.js 渲染组件app.vue 渲染到index.html
*/
